﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Goway.StackingUC.Entity
{
    /// <summary>
    /// 物料信息
    /// </summary>
    public class MaterialInfo
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int index { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public string MaterialBar { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string MaterialType { get; set; }
        
        /// <summary>
        /// 位置 “排,列,层” 格式
        /// </summary>
        [JsonIgnore]
        public string AtLocation { get; set; }

        /// <summary>
        /// 排
        /// </summary>
        public int RowIndex { get; set; }

        /// <summary>
        /// 列
        /// </summary>
        public int ColumnIndex { get; set; }

        /// <summary>
        /// 行
        /// </summary>
        public int LayerIndex { get; set; }
    }
}
